package com.springboot.demo.mapper;


import com.springboot.demo.model.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
     List<User> findUserByName(String name);
//     @Select(value = "SELECT * FROM user ")
     List<User> ListUser();
     int insertUser(User user);
     int delete(int id);
     int Update(User user);
}
